#include "salonincome.h"
#include <QSqlQuery>
#include <QDateTime>
#include <QDebug>
#include <QObject>
#include <QThread>

const int SalonIncome::ID_COL = 0;
const int SalonIncome::CASH_COL = 1;
const int SalonIncome::CREDIT_COL = 2;
const int SalonIncome::TOTAL_COL = 5;
const int SalonIncome::GIFT_CARD_IN = 3;
const int SalonIncome::GIFT_CARD_OUT = 4;
const int SalonIncome::CREATEDDATE_COL = 6;
const int SalonIncome::MODIFIEDDATE_COL = 7;

SalonIncome::SalonIncome()
{
    this->id = -1;
}

double SalonIncome::getCash() const
{
    return cash;
}

void SalonIncome::setCash(double value)
{
    cash = value;
}

double SalonIncome::getCredit() const
{
    return credit;
}

void SalonIncome::setCredit(double value)
{
    credit = value;
}

double SalonIncome::getTotal() const
{
    return total;
}

void SalonIncome::setTotal(double value)
{
    total = value;
}

double SalonIncome::getCashRate() const
{
    return cashRate;
}

void SalonIncome::setCashRate(double value)
{
    cashRate = value;
}

double SalonIncome::getGift_out() const
{
    return gift_out;
}

void SalonIncome::setGift_out(double value)
{
    gift_out = value;
}

double SalonIncome::getGift_in() const
{
    return gift_in;
}

void SalonIncome::setGift_in(double value)
{
    gift_in = value;
}
int SalonIncome::getId() const
{
    return id;
}

void SalonIncome::setId(int value)
{
    id = value;
}
